package ve.usb.ddp.hibernate;

import ve.usb.cohesion.runtime.LocalDate;



public class PaiReintegro implements java.io.Serializable, ve.usb.cohesion.runtime.Auditable {

    /** Creates a new instance of PaiReintegro */
    public PaiReintegro() {}
    
    /**
     * Holds value of property id.
     */
    private Long id;

    /**
     * Getter for property id.
     * @return Value of property id.
     */
    public Long getId() {
        return this.id;
    }

    /**
     * Holds value of property idReintegro.
     */
    private long idReintegro;

    /**
     * Getter for property idReintegro.
     * @return Value of property idReintegro.
     */
    public long getIdReintegro() {
        return this.idReintegro;
    }

    /**
     * Setter for property idReintegro.
     * @param idReintegro New value of property idReintegro.
     */
    public void setIdReintegro(long idReintegro) {
        this.id = this.idReintegro = idReintegro;
    }
    /**
     * Holds value of property resolucion.
     */
    private PaiResolucion resolucion;

    /**
     * Getter for property resolucion.
     * @return Value of property resolucion.
     */
    public PaiResolucion getResolucion() {
        return this.resolucion;
    }

    /**
     * Setter for property resolucion.
     * @param resolucion New value of property resolucion.
     */
    public void setResolucion(PaiResolucion resolucion) {
        this.resolucion = resolucion;
    }
    /**
     * Holds value of property fec_reintegro.
     */
    private java.util.Date fec_reintegro;

    /**
     * Getter for property fec_reintegro.
     * @return Value of property fec_reintegro.
     */
    public java.util.Date getFec_reintegro() {
        return this.fec_reintegro;
    }

    /**
     * Setter for property fec_reintegro.
     * @param fec_reintegro New value of property fec_reintegro.
     */
    public void setFec_reintegro(java.util.Date fec_reintegro) {
        if (fec_reintegro==null || fec_reintegro instanceof LocalDate) 
            this.fec_reintegro = fec_reintegro;
        else this.fec_reintegro = new LocalDate(fec_reintegro);
    }



    public String toString() {
        return "<PaiReintegro id='C" + this.id +
        //idReintegro
        ((resolucion==null) ? "" : "\" resolucion =\"C" + resolucion.getId()) +
        "\" fec_reintegro =\"" + fec_reintegro +
        "'/>";
    }

}